package com.pureut.scheduling.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Description 排程计划实体类
 * @Param
 * @Date 22-12-16
 * @Author hl
 **/
@Data
public class SchedulingPlanDto
{
    /** id */
    private long planId;

    /** 计划单号 */
    private String planCode;

    /** 状态 */
    private String planState;

    private String planStateDict;

    /** 关联id */
    private long planAssociatedId;


    /** 产品id */
    private long planMaterialId;

    /** 产品编码 */
    private String planMaterialCode;

    /** 产品名称 */
    private String planMaterialName;

    /** 产品规格 */
    private String planMaterialSpec;

    /** 客户编码 */
    private String planCustomerCode;

    /** 客户名称 */
    private String planCustomerName;

    /** 订单重量 */
    private double planContractWeight;

    private String planWhy;

    private String planNote;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planDeliveryTime;

    private String planTheContract;

    /** 销售订单号 */
    private String planAssociatedCode;

    private int planType;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private double thickness;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operatorTime;

    private String operatorBy;

    private double productionWeight;

    private double subcontractWeight;

}
